package adminRequest

type FloorListRequest struct {
	Page     int   `form:"page" json:"page" validate:"required" msg:"页码必须存在"`
	JzwId    int64 `form:"jzw_id,default:0" json:"jzw_id,default:0" validate:"required" msg:"建筑物ID必须存在"`
	PageSize int   `form:"pageSize,default:15" json:"pageSize,default:15"`
}

type AddFloorRequest struct {
	JzwId     int64  `form:"jzw_id" json:"jzw_id" validate:"required"`
	FloorName string `form:"floor_name" json:"floor_name" validate:"required"`
	Floor     int    `form:"floor" json:"floor" validate:"required"`
}

type EditFloorRequest struct {
	AddFloorRequest
	Id int64 `form:"id" json:"id" validate:"required"`
}
